package com.hyx.spring.bean;

/**
 * @Author hyx
 * @Description 测试bean的初始化和销毁方法
 * @Date 2024/3/10 19:32
 * @Version 1.0
 */
public class Student {

    public Student(){
        System.out.println("student类的构造方法");
    }

    public void init(){
        System.out.println("初始化Student对象。。。");
    }

    public void destroy(){
        System.out.println("销毁Student对象。。。");
    }
}
